﻿using Domain.Model;
using Domain.Types;
using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class NewTaskInput
    {
        public int TaskCategoryID { get; set; }

        /// <summary>
        /// 过期时间,任务完成
        /// </summary>
        public DateTime? FinishTime { get; set; }
        /// <summary>
        /// 所有数量完成，任务完成
        /// </summary>
        public bool IsFinishAll { get; set; }

        /// <summary>
        /// 限时提交{多少时间后自动取消}
        /// </summary>
        public LimitTimeEnum LimitTime { get; set; }
        /// <summary>
        /// 审核周期{多少时间后自动完成}
        /// </summary>
        public LimitAuditEnum LimitAudit { get; set; }
        /// <summary>
        /// 总次数
        /// </summary>
        public int TotalCount { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public int Price { get; set; }

        public int TotalPrice { get; set; }

        /// <summary>
        /// 字段数据
        /// </summary>
        public List<TaskFieldInfo> FieldData { get; set; }
        /// <summary>
        /// 任务步骤数据
        /// </summary>
        public List<TaskStepFieldInfo> StepFieldData { get; set; }
        /// <summary>
        /// 提交数据字段名称
        /// </summary>
        public string SubFieldName { get; set; }
    }
}
